package com.sky.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 笔记
 */
@Data
@ApiModel(description = "用户端创建笔记时传递的数据模型")
public class NoteDTO {
    @ApiModelProperty("关联的图书主键值")
    @JsonProperty("bId")
    private String bId;
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("内容")
    private String content;
    @ApiModelProperty("插图")
    private List<String> images;
    @ApiModelProperty("标签")
    private List<String> tags;
    @ApiModelProperty("发布时间")
    private Date createTime;
}
